package com.example.child_protection.dao;

import com.example.child_protection.model.CategoryModel;
import com.example.child_protection.model.SystemRoleButtonModel;
import com.example.child_protection.model.SystemRoleMenuModel;
import org.springframework.stereotype.Repository;

/**
 * 角色按钮dao
 * @author Biz
 */
@Repository
public interface SystemRoleButtonDao extends BaseDao<SystemRoleButtonModel,Long> {

    /**
     * @Title: delete
     * @Description: 根据条件删除（逻辑删除）
     * @param model
     * @return
     * @return int
     */
    public int deleteByRoleId( SystemRoleButtonModel model );

}